<?php $this->headLink()->appendStylesheet($this->APP_STATIC_SERVER . '/skins/' . $this->APP_TEMPLATE . '/' . $this->APP_SKIN . '/css/' . 'product.css')?>
<div id="m-center">
    <div class="center-box">
        <div class="box-title">
            <div class="wrapper">
                <a href="#" class="root">
                    <?php echo $this->translate('product_search_page_title') ?>
                </a>    
            </div>
        </div>
        <div class="box-container">
            <?php
            foreach ($this->products as $product) {
                ?>
                <div class="product">
                    <div class="product-thumbnail">
                        <img src="<?php echo $product->image_thumbnail ?>" alt="<?php echo $product->name ?>">
                        <div class="shadow"></div>
                    </div>
                    <h4>
                        <a href="<?php echo $this->url($product->getProperties(), 'product_product_details') ?>"><?php echo $product->name ?></a>
                    </h4>
                    <p class="product-price">
                        <span class="label"><?php echo $this->translate('product_price') ?>:</span>
                        <span class="price"><?php echo $product->price ?> VNĐ</span>
                    </p>
                    <div class="product-buttons">
                        <a class="product-details"><?php echo $this->translate('product_details') ?></a>
                        <a class="product-add-to-cart"><?php echo $this->translate('product_buy_it') ?></a>
                    </div>
                </div>
                <?php
            }
            ?>
            <div class="clearfix"></div>
        </div>
        <div id="pagination">
        <?php echo $this->paginator()->slide($this->paginator, $this->paginatorOptions); ?>
        </div>
    </div>
	<div class="m-center-footer">
        <h4>Thiết kế và thực hiện bởi <a href="http://idgit.com.vn">IDG-IT</a></h4>
    </div>
</div>